﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/admin/Views/Admin.Master" Inherits="System.Web.Mvc.ViewPage<Lbb.URating.Models.U_ClickCategoryDataList>" %>

<%@ Import Namespace="Lbb.URating.Localization" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:U_ClickCategoryRes.ClassName %><%:ViewRes.List %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" runat="server">
    <%  
        var actionName = "Index";
        var controllerName = "U_ClickCategory";
        var targetId = controllerName + "_list";
    %>
    <div class="gvBanner">
        <span class="gvBannerThemes"><img src="../images/decoy-icon-36px.png" align="absmiddle" style="border-width:0px;"></span>
        <%:U_ClickCategoryRes.ClassName %><%:ViewRes.List %>
        <span id="divsearch" class=" ajax-form" action="<%:Url.Action(actionName,controllerName) %>" ajax-begin="$.hu8.showLoading();" ajax-complete="$.hu8.hideLoading();" ajax-update="#<%:targetId %>">
            <span class="userSearchForm">
                <%:ViewRes.Keywrod %>
            </span>
            <%:Html.EditorFor(m=>m.Keyword) %>

            <span class="userSearchForm">
                <%:U_ClickCategoryRes.ObjectType %>
            </span>
            <%:Html.DropDownList("objTypes","ObjectType",Model.ObjectTypesStr,pExtItems: new[]{new SelectListItem{Text=ViewRes.ShowAll,Value=""}}) %>

            <span class="userSearchForm">
                <%:U_ClickCategoryRes.AllowRedo %>
            </span>
            <%:Html.EditorFor(m=>m.AllowRedo,"NullableBool") %>

            <input type="button" class="btn submit" value="<%:ViewRes.Search %>" />
        </span>
    </div>
    <div id="<%:targetId %>">
        <%:Html.Partial("List",Model) %>
    </div>
</asp:Content>
